package com.zwz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zwz.bean.AdminInfo;

public interface AdminInfoService {
    boolean insert(AdminInfo adminInfo);

    boolean deleteById(Integer aid);

    boolean updateById(AdminInfo adminInfo);

    AdminInfo getById(Integer aid);

    IPage<AdminInfo> getPage(int currentPage, int pageSize, AdminInfo adminInfo);

    int countAll();

    boolean adminUpdateInfo(AdminInfo adminInfo);

    AdminInfo adminShow(Integer id);
}
